<?php
	/**
	 * REGISTER DealX SIDE BAR
	 */
    add_action('widgets_init', 'couponx_widgets_init');
	function couponx_widgets_init()
	{
		//Body Head sidebar
		register_sidebar(array(
			'name' => __('Body Head', 'DealX theme'),
			'id' => 'cs-body-head-sidebar',
			'description' => __('Display widgets at body head'),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget' => '</aside>',
			'before_title' => '<h3 class="widget-title">',
			'after_title' => '</h3>',
			));
		//Slider Home page sidebar
		register_sidebar(array(
			'name' => __('Slider Home page', 'DealX theme'),
			'id' => 'cs-slider-home-sidebar',
			'description' => __('Display widgets at home page - Slider'),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget' => '</aside>',
			'before_title' => '<h3 class="widget-title">',
			'after_title' => '</h3>',
			));
        //Body Foot
        register_sidebar(array(
			'name' => __('Body Foot', 'DealX theme'),
			'id' => 'cs-body-foot-sidebar',
			'description' => __('Display widgets at body foot'),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget' => '</aside>',
			'before_title' => '<h3 class="widget-title">',
			'after_title' => '</h3>',
			));
        //Right sidebar
		register_sidebar(array(
			'name' => __('Right sidebar', 'DealX theme'),
			'id' => 'cs-span4-right-sidebar',
			'description' => __('Display widgets at page 2 row - right sidebar',
				'DealX theme'),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget' => '</aside>',
			'before_title' => '<h3 class="widget-title">',
			'after_title' => '</h3>',
			));
	}
